from  median import *



if __name__ == "__main__":
    try:
        s = Server(30001)
        while True:
            time.sleep(.1)
    except KeyboardInterrupt:
        print '^C received, shutting down server'
        s.close()
